home *** CD-ROM | disk | FTP | other *** search
- assume cs:_text
- _text segment public byte 'code'
- public _jzplot
-
- _jzplot proc near
- push bp ; save base of stack
- mov bp,sp ; get pointer to arguments
-
- mov dx,[bp+4] ; get y coordinate
- mov cx,[bp+6] ; get x coordinate
- mov al,[bp+8] ; get color
-
- mov ah,0ch ; plot a pixel dot
- int 10h ; call bios
- mov sp,bp
- pop bp
- ret
- _jzplot endp
- _text ends
- end